<div class="widget">
        <div class="widgetTitle">


                <h3>All Products : <?= $title;?></h3>
        </div>
        <!-- /.widgetTitle -->


        <div class="block">
                Searching for products with <?= $title;?>
            
        </div>
        
        <div class="block">
            <?php if (Settings::get('en', 'publisher_id')) { ?>
                <div class="adspace end">
                    <script async
                            src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!-- RESPONSIVE2 -->
                    <ins class="adsbygoogle" style="display: block"
                         data-ad-client="<?php echo trim(Settings::get('en', 'publisher_id')); ?>"
                         data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
            <?php } ?>
        </div>
        
        <?php if($products){?>
        <?php foreach($products as $products):?>
                <div class="widgetContent bottom-border listing">
                    <div class="row nomargin">
                        <div class="col-md-9 col-sm-9 col-xs-9">

                            <h2>
                                <i class="fa fa-shopping-cart text-dark-orange"></i>
                                <a href="<?= URL::base();?>/products/detail/<?= Str::slug($products->title);?>/<?= $products->id;?>"> <?= $products->title;?></a>
                            </h2>
 							<blockquote>
                                <p><span class="smallText"><?= Str::limit($products->description,170);?> </span>
                                    </p>
                                   <p class="text-dark-orange">Price : <?= $products->price;?></p>

                               
                            </blockquote>
                            
                            </div>

                        <div class="col-md-3 col-sm-3 col-xs-3 leftBorder">
                            <a href="#"><img
                                    class="img-responsive"
                                    src="<?= URL::base(); ?>/storage/uploads/products/<?= $products->image;?>"
                                    alt="" title=""></a>
                        </div>


                    </div>

                </div><!-- /.widgetContent -->
           <?php endforeach;}else{?>
           
            <div class="block"><i class="fa fa-exclamation fa-lg"></i> Oops! No data found...</div>
           <?php }?>
           <div class="block">
            <?php if (Settings::get('en', 'publisher_id')) { ?>
                <div class="adspace end">
                    <script async
                            src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
                    <!-- RESPONSIVE2 -->
                    <ins class="adsbygoogle" style="display: block"
                         data-ad-client="<?php echo trim(Settings::get('en', 'publisher_id')); ?>"
                         data-ad-format="auto"></ins>
                    <script>
                        (adsbygoogle = window.adsbygoogle || []).push({});
                    </script>
                </div>
            <?php } ?>
        </div>
           
            </div><!-- /.widget -->
